package com.dy.lock.screen.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.lock.screen.dao.CustomerMarkRelationDao;
import com.dy.lock.screen.pojo.CustomerMarkInfo;
import com.dy.lock.screen.service.CustomerMarkRelationService;

@Service("customerMarkRelationService")
public class CustomerMarkRelationServiceImpl implements
		CustomerMarkRelationService {

	@Resource(name = "customerMarkRelationDao")
	private CustomerMarkRelationDao customerMarkRelationDao;

	@Override
	public List<CustomerMarkInfo> queryListByCid(String userId) {
		// TODO Auto-generated method stub
		return this.customerMarkRelationDao.queryListByCid(userId);
	}

	@Override
	public CustomerMarkInfo queryByCidAndMid(CustomerMarkInfo markIfno) {
		// TODO Auto-generated method stub
		return this.customerMarkRelationDao.queryByCidAndMid(markIfno);
	}

}
